def my_sum(numbers):
    first, *res = numbers

    return first + my_sum(res) if res else first


n = my_sum(list(range(10)))
print(n)
